<?php
require 'definitions.inc.php';
require 'phpajax/phpajax.php';
require 'plugins/url/classURL.inc.php';
require 'plugins/i18n/classI18N.inc.php';
require 'plugins/window/classWindow.inc.php';
require 'plugins/template/classTemplate.inc.php';
require 'plugins/filesystem/classFileSystem.inc.php';
require 'plugins/imageviewer/classImageViewerXMLService.inc.php';
require 'plugins/imageviewer/classImageViewer.inc.php';
require 'plugins/imageviewer/classPhotoAlbum.inc.php';

//set language
$_i18n = new classI18N();
$language = $_i18n->getActual();
if($language!=-1 and $language!='')	require $language;

//class for imageviewer
$_ImaneViewer = new classImageViewer('flow_container',true);

//class for photoalbum
$_PhotoAlbum = new classPhotoAlbum();

//class for template management
$_Skin = new classTemplate();

//render template and fill it with content
include $_Skin->getActual().'/index.inc.php';
?>